package com.gouying.design.patterns.visitor;

public class Disk extends HardWare {

    @Override
    public void work() {
        System.out.println("disk 开始工作");
    }

    @Override
    void action(Visitor visitor) {
        visitor.visitor(this);
    }
}
